//
//  ParameterCollectionReusableView.m
//  Project_A Gary
//
//  Created by leilei on 16/4/9.
//  Copyright © 2016年 www.lei.com. All rights reserved.
//

#import "ParameterCollectionReusableView.h"

@implementation ParameterCollectionReusableView

-(void)dealloc
{
    [_sectionLab release];
    [super dealloc];

}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.sectionLab = [[UILabel alloc] init];
        //self.sectionLab.backgroundColor = [UIColor yellowColor];
        self.sectionLab.textColor = [UIColor grayColor];
        self.sectionLab.font = [UIFont systemFontOfSize:14];
        [self addSubview:self.sectionLab];
        [_sectionLab release];
    }
    return self;
}


- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    [super applyLayoutAttributes:layoutAttributes];
    self.sectionLab.frame = CGRectMake(20, 5, 200, 30);
    
}


@end
